﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework;

namespace Spelprojekt.View
{
    public class GameAssets
    {
        //Background
        public Texture2D m_background;

        //Tiles
        public Texture2D m_brick;                
        public Texture2D m_exit;
        public Texture2D m_deadly;

        //Characters
        public Texture2D m_wizard;
        public Texture2D m_enemy;

        //Overlay
        public Texture2D m_win;
        public Texture2D m_lose;
        public Texture2D m_died;
        public Texture2D m_cleared;
        public Texture2D m_paused;
        public Texture2D m_logo;
        
        //Partikeleffekt
        public Texture2D m_blood;

        public Texture2D m_whiteBox;


        //Text
        public SpriteFont m_font;         
      
        public void LoadResources(ContentManager a_contentManager)
        {
            m_wizard = a_contentManager.Load<Texture2D>("WizardSquare");
            m_enemy = a_contentManager.Load<Texture2D>("SharkGuy1");

            m_brick = a_contentManager.Load<Texture2D>("brick");
            m_exit = a_contentManager.Load<Texture2D>("Exit");
            m_deadly = a_contentManager.Load<Texture2D>("DeadlyBlock");

            m_background = a_contentManager.Load<Texture2D>("Background01");

            m_font = a_contentManager.Load<SpriteFont>("SpriteFont1");            
            
            m_win = a_contentManager.Load<Texture2D>("you_win");
            m_lose = a_contentManager.Load<Texture2D>("you_lose");
            m_died = a_contentManager.Load<Texture2D>("you_died");
            m_cleared = a_contentManager.Load<Texture2D>("you_cleared");
            m_paused = a_contentManager.Load<Texture2D>("you_paused");
            m_logo = a_contentManager.Load<Texture2D>("Logo");
          

            m_blood = a_contentManager.Load<Texture2D>("blood");
            
            m_whiteBox = a_contentManager.Load<Texture2D>("Invisible");            
        }

        internal void GetData<T1>(uint[] bitsA)
        {
            throw new NotImplementedException();
        }

        internal void GetData(Color[] enemyTextureData)
        {
            throw new NotImplementedException();
        }
    }
}
